package com.gw.booking.dto.backend;

import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

public class MerchantTypeDto {
    @ApiModelProperty(value = "分类名称", required = true)
    @NotNull
    @NotBlank
    private String typeName;
    @ApiModelProperty(value = "预约时间数量", required = true)
    @NotNull
    @Min(0)
    @Max(3)
    private Integer orderTimeNum;

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public Integer getOrderTimeNum() {
        return orderTimeNum;
    }

    public void setOrderTimeNum(Integer orderTimeNum) {
        this.orderTimeNum = orderTimeNum;
    }
}
